#include "mMsgUndef.h"

#define BEGIN_MSG_NAMESPACE(NAMESPACE, START_INDEX) \
	namespace NAMESPACE { \

#define BEGIN_MSG(TYPE) \
	void s##TYPE::ToScriptMessage(cScriptMessage& _message_) const \
	{ \

#define BEGIN_MSG_API(API, TYPE) \
	void s##TYPE::ToScriptMessage(cScriptMessage& _message_) const \
	{ \

#define END_MSG() \
	}

#define END_MSG_NAMESPACE() \
	}

#define MSG_FIELD(TYPE, NAME, VALUE) \
	AddMsgFieldValueToScriptMessage(_message_, #NAME, NAME);